package org.chen.model.dto;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;

// ArticleTagDTO - 标签数据传输对象
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ArticleTagDTO {
    @NotBlank(message = "标签名称不能为空")
    private String name;

    private String category;
    private Integer weight;
    private String description;
}
